package com.ruoyi.common.enums;

import lombok.Getter;

/**
 * 设备协议枚举
 */
@Getter
public enum ProductEnum {
    BA("BA"),
    MR("MR"),
    TYPE_4_20_MA("4-20mA"),
    TYPE_4_20_MA_OUTPUT("4-20mA输出"),
    TYPE_PT100("PT100"),
    TYPE_0_10_V("0-10V"),
    TYPE_HARD_CONTACT_MODULE("非设备硬接点模块"),
    TYPE_MODBUS("MODBUS"),
    TYPE_MODBUS_FLOAT("MODBUS_FLOAT"),
    TYPE_0183_VDR("0183-vdr"),
    TYPE_MR_A_0("开关A-0"),
    TYPE_0183("0183"),
    TYPE_DEVICE("device"),
    TYPE_DEVICE_OUTPUT("device输出"),
    TYPE_LDAXDR("LDAXDR"),
    TYPE_HXALA("HXALA"),
    TYPE_NON_ZERO_ALARM("non-zero-alarm"),
    TYPE_CONFIGURATION("configuration"),
    TYPE_XDR("XDR");


    private final String value;

    ProductEnum(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return this.value;
    }
}
